<%--
    Document   : temp
    Created on : Oct 4, 2012, 4:10:02 PM
    Author     : MinhThang
--%>

<%@page import="org.apt.connectDB.MyConnect"%>
<%@page import="java.sql.ResultSet"%>
<%@page import="java.sql.Connection"%>
<%@page import="java.sql.PreparedStatement"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="description" content="website description" />
        <meta name="keywords" content="website keywords, website keywords" />
        <meta http-equiv="content-type" content="text/html; charset=windows-1252" />
        <title>National Level Paper Presentation</title>
        <link href="style/css/transdmin.css" rel="stylesheet" type="text/css" media="screen" />
        <link href="../style/style.css" rel="stylesheet" type="text/css" media="screen" />
        <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Tangerine&amp;v1#" />
        <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz" />

        <style>
            * {font-family:Arial, Helvetica, sans-serif;
               font-size:10pt;}
            </style>
        </head>
        <body>
            <%
                        if (session.getAttribute("AdminUser") == null || session.getAttribute("AdminUser").toString() == "") {
                            response.sendRedirect("/Admin/adminlogin.jsp");
                        }
            %>
            <div id="wrapper">
                <h1><a href="#"><span>Admin Paper Presentation</span></a></h1>
                <div><%@include file="Template/header.jsp" %></div>
                <div id="containerHolder">
                    <div id="sidebar">
                        <ul class="sideNav">
                            <li class="limenu"><a href="create_lecture.jsp">Create a lecture</a></li>
                            <li class="limenu"><a href="list_author_lecture.jsp">List Author</a></li>
                            <li class="limenu"><a href="create_author_lecture.jsp">Create author</a></li>
                            <li class="limenu"><a href="create_lecture_event.jsp">Create Lecture event</a></li>
                            <li class="limenu"><a href="event_and_lecture.jsp">Event and lecture</a></li>
                        </ul>
                        <!-- // .sideNav -->
                    </div>
                    <h2><a href="#">Lecture >></a> <a href="#" class="active">Create author</a></h2>
                    <div id="main">
                        <form action="createauthorlecture.do" method="post" enctype="multipart/form-data">
                            <table  class="tableRegiter" style="width: 100%">
                            <tr >
                                <td></td>
                                <td class="headerTable"><h3>Create Author</h3></td>
                                <td></td>
                            </tr>

                            <tr>
                                <td class="leftForm">Full Name : </td>
                                <td class="centerForm"><input id="textinput" type="text" name="txtFullName" value="" /></td>
                                <td class="leftForm"></td>
                            </tr>
                            <tr>
                                <td class="leftForm">Gender : </td>
                                <td class="centerForm">
                                    Male <input type="radio" name="gender" value="true" checked="checked" />
                                    Female <input type="radio" name="gender" value="false" />
                                </td>
                                <td class="leftForm"></td>
                            </tr>
                            <tr>
                                <td class="leftForm">Birth day : </td>
                                <td class="centerForm"><input id="textinput" type="text" id="date1" name="txtBirthday" /></td>
                                <td class="leftForm"></td>
                            </tr>
                            <tr>
                                <td class="leftForm">Identity card : </td>
                                <td class="centerForm"><input id="textinput" type="text" name="txtIDCard" value="" /></td>
                                <td class="leftForm"></td>
                            </tr>
                            <tr>
                                <td class="leftForm">Email : </td>
                                <td class="centerForm"><input id="textinput" type="text" name="txtEmail" value="" /></td>
                                <td class="leftForm"></td>
                            </tr>
                            <tr>
                                <td class="leftForm">Mobile Phone : </td>
                                <td class="centerForm"><input id="textinput" type="text" name="txtMobile" value="" /></td>
                                <td class="leftForm"></td>
                            </tr>
                            <tr>
                                <td class="leftForm">Home Phone : </td>
                                <td class="centerForm"><input  id="textinput"type="text" name="txtHomePhone" value="" /></td>
                                <td class="leftForm"></td>
                            </tr>
                            <tr>
                                <td class="leftForm">Address : </td>
                                <td class="centerForm"><input id="textinput" type="text" name="txtAddress" value="" /></td>
                                <td class="leftForm"></td>
                            </tr>
                            <tr>
                                <td class="leftForm">Image : </td>
                                <td class="centerForm"><input id="textinput" type="file" name="fileUpLoad" value="" id="file"/></td>
                                <td class="leftForm"></td>
                            </tr>

                            <tr>
                                <td class="leftForm"> </td>
                                <td class="centerForm">
                                    <input id="pagestatus"  type="submit" value="Register Now" name="btRegister" />
                                    <input id="pagestatus" type="reset" value="Reset" name="bttReset" />
                                </td>
                                <td class="leftForm"></td>
                            </tr>
                        </table>
                    </form>
                </div>
                <!-- // #main -->
                <div class="clear"></div>
            </div>
        </div>
    </body>
</html>
